<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('communityautoplan/communityautoplan/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('communityautoplan/communityautoplan/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('communityautoplan/communityautoplan/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>

                        <div class="dropdown btn-group {:$auth->check('communityautoplan/communityautoplan/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=1"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=0"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>

                        <div class="row filter-row" style="margin:10px 0;">
                            <div class="col-md-3">
                                <select id="c-teaching_point" name="teaching_point" class="form-control select" data-live-search="true" title="选择教学点">
                                    <option value="">全部教学点</option>
                                    {volist name="ocationList" id="ocation"}
                                    <option value="{$ocation.id}">{$ocation.name}</option>
                                    {/volist}
                                </select>
                            </div>
                            <div class="col-md-3">
                                <select id="c-course_type" name="course_type" class="form-control select" title="选择课程类型">
                                    <option value="">全部课程类型</option>
                                    <option value="公益活动">公益活动</option>
                                    <option value="社区活动">社区活动</option>
                                    <option value="研学活动">研学活动</option>
                                    <option value="趣味活动">趣味活动</option>
                                </select>
                            </div>
                            <div class="col-md-2">
                                <button type="button" class="btn btn-info btn-filter" id="btn-filter">
                                    <i class="fa fa-search"></i> 筛选
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <table id="table" class="table table-striped table-bordered table-hover"
                           data-operate-edit="{:$auth->check('communityautoplan/communityautoplan/edit')}"
                           data-operate-del="{:$auth->check('communityautoplan/communityautoplan/del')}"
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>